<%@ page language="java"
	import="java.util.*,com.opensymphony.xwork2.util.*"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>职别查询</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>
<body>
	职别信息 <a href="content/jichuxinxi/zhibie_luru.jsp" target="mainFrame">职别录入</a>
	<s:property value="tip" />
	<s:form action="zhibiechaxun">
		<s:textfield name="name" label="按名称查询" />
		<s:textfield name="id" label="按ID查询" />
		<s:submit value="确定"/>
	</s:form>
	<s:form action="" method="post">
		<s:iterator value="resultList" status="index" id="l">
			<s:if test="#index.odd == true">
				<tr style="background-color: #FFFF00">
			</s:if>
			<s:else>
				<tr>
			</s:else>
			<td>职别名称</td>
			<td>
				<s:property value="name" /> 
				<s:property value="ID" /> 
				<a href="zhibieshanchu?id=<s:property value="#l.ID"/>">删除</a>
				<a href="zhibiexiugai_pre?id=<s:property value="#l.ID"/>&name=<s:property value="#l.name"/>">修改</a>
			</td>
		</s:iterator>
	</s:form>
</body>
</html>
